//
//  JXAccountCenterController.h
//  JiaoX
//
//  Created by jiaoxiu－005 on 15/1/16.
//  Copyright (c) 2015年 北京娇羞科技有限公司. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "AddressAndCheckProdInfo.h"
#import "AccountCenterFooterView.h"
@protocol AccountCenterDelegate <NSObject>
@optional
-(void)accountCenterFinish:(int)type status:(NSString *)status;
@end

typedef enum {
    //通过购物车进入
    ACCOUNT_CENTER_CART_FINISH = 0,
    //通过订单中心进入
    ACCOUNT_CENTER_ORDER_LIST = 1,
    //通过订单列表进入
    ACCOUNT_CENTER_ORDER_DETAIL = 2
}accountCenterFinishType;

@interface JXAccountCenterController : UIViewController

@property(nonatomic,weak) id<AccountCenterDelegate> delegate;
+(instancetype)initWithProdInfo:(AddressAndCheckProdInfo *)info :(accountCenterFinishType)type;

@end
